package com.novax.ex.activity.open.model.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * Description: 参与费用配置
 *
 * @author Deucalion@novax.email
 * @date 2023/2/21 16:47
 */
@Schema(description = "参与费用配置")
@Data
public class MallConfigRequest {
    /** id */
    @Schema(description = "id")
    private Long id;

    /**
    * 货币名称(英文简称)
    */
    @NotBlank
    @Schema(description = "货币名称(英文简称)",required = true)
    private String currency;

    /**
    * 最小单位费用
    */
    @NotNull
    @Schema(description = "最小单位费用",required = true)
    private BigDecimal minPrice;

    /**
    * 排序
    */
    @Schema(description = "排序")
    private Integer sort;
}
